<?php 
  require_once('../head/nav.php');
  $acid = $result['acid'];
  $activity = $result['activity'];
  $dename = $result['dename'];
  $signifi = $result['signifi'];
  $time = $result['time'];
  $place = $result['place'];
  $acphoto = $result['acphoto'];
?>
<h1 class="text-center">社团活动编辑</h1>
    <div class="col-sm-9 col-md-10">
      <form method="post" action="Admin.php?c=So&m=societyupdate&id=<?php  echo $acid;  ?>" enctype="multipart/form-data" class="form-horizontal">
        <input type="hidden" name="acid" value="<?php echo $acid;?>">
        <div class="form-group">
            <label for="activity" class="col-md-2 col-xs-3 control-label">活动名称</label>
            <div class="col-md-10 col-xs-9">
              <input type="text" class="form-control" id="activity" placeholder="活动名称" name="activity" value="<?php echo $activity;//echo &row['activity'] ?>">
            </div>
        </div>
        <div class="form-group">
            <label for="dename" class="col-md-2 col-xs-3 control-label">承办部门</label>
            <div class="col-md-10 col-xs-9">
              <input type="text" class="form-control" id="dename" placeholder="承办部门" name="dename" value="<?php echo $dename;//echo &row['dename'] ?>">
            </div>
        </div>
        <div class="form-group">
            <label for="signifi" class="col-md-2 col-xs-3 control-label">活动意义</label>
            <div class="col-md-10 col-xs-9">
              <input type="text" class="form-control" id="signifi" placeholder="活动意义" name="signifi" value="<?php echo $signifi;//echo &row['signifi'] ?>">
            </div>
        </div>
        <div class="form-group">
            <label for="time" class="col-md-2 col-xs-3 control-label">活动时间</label>
            <div class="col-md-10 col-xs-9">
              <input type="date" class="form-control" id="time" placeholder="活动时间" name="time" value="<?php echo $time;//echo &row['time'] ?>">
            </div>
        </div>
        <div class="form-group">
            <label for="place" class="col-md-2 col-xs-3 control-label">活动地点</label>
            <div class="col-md-10 col-xs-9">
              <input type="text" class="form-control" id="place" placeholder="活动地点" name="place" value="<?php echo $place;//echo &row['place'] ?>">
            </div>
        </div>
        <div class="form-group">
            <label for="acphoto" class="col-md-2 col-xs-3 control-label">活动照片展示</label>
            <div class="col-md-10 col-xs-9">
              <img src="../images/<?php echo $acphoto;?>" width=120 height=100>
              <input type="file" id="acphoto" name="acphoto">
            </div>
        </div>
        <div class="form-group">
              <label class="col-xs-3 col-md-2"></label>
              <div class="col-xs-9 col-md-10 col-md-offset-2 col-xs-offset-3">
                 <input class="btn btn-success" type="submit" value="重置" >
                 <input class="btn btn-danger" name="reset" value="取消" >
              </div>
        </div>
      </form>
    </div>

<?php 
  require_once('../head/footer.php'); 
?>
